home *** CD-ROM | disk | FTP | other *** search
- global frameSpeed, direction
-
- on exitFrame me
- if direction = "right" then
- if the frameLabel <> "Last" then
- go(the frame + frameSpeed)
- if soundBusy(3) = 0 then
- sound(3).play(member("VisorHum"))
- end if
- end if
- else
- if direction = "left" then
- if the frameLabel <> "Start" then
- go(the frame - frameSpeed)
- if soundBusy(3) = 0 then
- sound(3).play(member("VisorHum"))
- end if
- else
- go("First")
- end if
- end if
- end if
- if (direction <> "left") or (direction <> "right") then
- go(the frame)
- end if
- end
-
- on enterFrame me
- if not soundBusy(2) then
- puppetSound(2, "S-TWcongrats")
- sprite(150).member = "StarStatic"
- else
- sprite(150).member = "StarTalking: 27/5"
- end if
- if soundBusy(4) then
- sound(4).volume = sound(4).volume - 10
- end if
- end
-